﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DropDownList_Create.aspx.cs"
    Inherits="SYS_POPEDOM_DropDownList_Create" %>

<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>无标题页</title>
    <link href="../css/PageStyle.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript" src="../JavaScript/Common.js"></script>

</head>
<body class="backcolor">
    <form id="form1" runat="server">
    <ext:ResourceManager ID="ResourceManager1" runat="server"  AjaxViewStateMode=Enabled/>
    <ext:ViewPort ID="ViewPort1" runat="server">
         <Content>
            <ext:Toolbar ID="Toolbar3" runat="server">
                <Items>
                    <ext:Button ID="extBtn_Save" runat="server" Text=" 保存" Icon="Accept">
                        <DirectEvents>
                            <Click OnEvent="extBtn_SaveClick">
                                <EventMask ShowMask="true" Target="CustomTarget" CustomTarget="ViewPort1" />
                            </Click>
                        </DirectEvents>
                    </ext:Button>
                    <ext:Button ID="extBtn_Cancel" runat="server" Text="关闭" Icon="Cancel">
                        <Listeners>
                            <Click Fn="closeCurrTab" />
                        </Listeners>
                    </ext:Button>
                </Items>
            </ext:Toolbar>
            <ext:FormPanel ID="Panel2" runat="server" AutoHeight="true" Border="false" BodyStyle="border-width:0 0 0 0;top:2px;">
                <Content>
                    <ext:Panel ID="pnl1" runat="server" ButtonAlign="Center" Border="false">
                        <Content>
                            <ext:FormLayout ID="FormLayout1" runat="server" LabelAlign="Left">
                                <Anchors>
                                    <ext:Anchor Horizontal="80%">
                                        <ext:TextField ID="exttxtf_dropdown_name" runat="server" FieldLabel="下拉项名称" EmptyText="（必填项）"
                                            AllowBlank="false" BlankText="下拉项名称不能为空！" LabelStyle="text-align:right;padding-left: 10%;" />
                                    </ext:Anchor>
                                    <ext:Anchor Horizontal="80%">
                                        <ext:ComboBox ID="extcomb_select_type" runat="server" FieldLabel="下拉项类型" SelectedIndex="0"
                                            LabelStyle="text-align:right;padding-left: 10%;">
                                            <Items>
                                                <ext:ListItem Text="下拉数据" Value="1" />
                                                <ext:ListItem Text="lookup数据" Value="2" />
                                            </Items>
                                        </ext:ComboBox>
                                    </ext:Anchor>
                                    <ext:Anchor Horizontal="80%">
                                        <ext:ComboBox ID="extcomb_data_source" runat="server" FieldLabel="数据来源" SelectedIndex="0"
                                            LabelStyle="text-align:right;padding-left: 10%;">
                                            <Items>
                                                <ext:ListItem Text="枚举" Value="1" />
                                                <ext:ListItem Text="SQl查询" Value="2" />
                                            </Items>
                                        </ext:ComboBox>
                                    </ext:Anchor>
                                    <ext:Anchor Horizontal="80%">
                                        <ext:TextArea ID="exttxta_data_content" runat="server" FieldLabel="下拉项内容" Height="100"
                                            LabelStyle="text-align:right;padding-left: 10%;">
                                        </ext:TextArea>
                                    </ext:Anchor>
                                    <ext:Anchor Horizontal="80%">
                                        <ext:TextArea ID="exttxta_Remark" runat="server" FieldLabel="备注" Height="100" LabelStyle="text-align:right;padding-left: 10%;">
                                        </ext:TextArea>
                                    </ext:Anchor>
                                </Anchors>
                            </ext:FormLayout>
                        </Content>
                    </ext:Panel>
                </Content>
            </ext:FormPanel>
         </Content>
    </ext:ViewPort>
    </form>
</body>
</html>
